import type { Category } from '@/views/main/components/types';

// PC端设备指定宽度
export const PC_DEVICE_WIDTH = 1280;

// category 本地构建数据
export const ALL_CATEGORY_ITEM = {
  id: 'all',
  name: '全部'
} as Category;

// category 的初始化数据
export const CATEGORY_INITIAL_DATA: Category[] = [
  ALL_CATEGORY_ITEM,
  {
    id: 'web_app_icon',
    name: 'UI/UX',
    col: 1,
    urlname: 'web_app_icon'
  },
  {
    id: 'design',
    name: '平面',
    col: 1,
    urlname: 'design'
  },
  {
    id: 'illustration',
    name: '插画/漫画',
    col: 1,
    urlname: 'illustration'
  },
  {
    id: 'photography',
    name: '摄影',
    col: 2,
    urlname: 'photography'
  },
  {
    id: 'games',
    name: '游戏',
    urlname: 'games'
  },
  {
    id: 'anime',
    name: '动漫',
    urlname: 'anime'
  },
  {
    id: 'industrial_design',
    name: '工业设计',
    col: 2,
    urlname: 'industrial_design'
  },
  {
    id: 'architecture',
    name: '建筑设计',
    urlname: 'architecture'
  },
  {
    id: 'art',
    name: '人文艺术',
    urlname: 'art'
  }
];
export {
  EMITS_SEARCHCMP_SEARCH,
  EMITS_SEARCHCMP_CLEAR,
  EMITS_SEARCHCMP_INPUT,
  EMITS_SEARCHCMP_FOCUS,
  EMITS_SEARCHCMP_BLUR,
  EMITS_BUTTONCMP_CLICK
} from './events';

export { THEME_LIGHT, THEME_DARK, THEME_SYSTEM } from './theme';

export { LOGIN_TYPE_OAUTH_NO_REGISTER } from './code';
